//
//  DYCurrencySelectCell.h
//  DaYing
//
//  Created by DaYing  on 2023.
//  Copyright © 2023年 DaYing . All rights reserved.
//

#import "BaseTableViewCell.h"

@class DYCurrencySelectCell;
@class DYCurrencySelectCellModel;

@protocol DYCurrencySelectCellDelegate <NSObject>

- (void)currencySelectCell:(DYCurrencySelectCell *)cell button:(UIButton *)sender;

@end

@interface DYCurrencySelectCell : BaseTableViewCell

@property (nonatomic,weak) id<DYCurrencySelectCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewBottom;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) DYCurrencySelectCellModel *model;

@end



#pragma mark - Model

@interface DYCurrencySelectCellModel : NSObject

@property (nonatomic,copy) NSDictionary *dic;

+ (DYCurrencySelectCellModel *)ittemModelWithDic:(NSDictionary *)dic;

@end



